package com.iotimc.attendancesystem.activity;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.util.Log;
import android.widget.Toast;

public class AlarmReceiver extends BroadcastReceiver {

    @Override
    public void onReceive(Context context, Intent intent) {

        //当系统到我们设定的时间点的时候会发送广播，执行这里
    	
    	Log.i("hwwlog", "接收到广播了，开始干活了！！！");
    	Toast.makeText(context, "接收到广播了，开始干活了！！！", Toast.LENGTH_LONG).show();
    }
}